package main

import (
	"fmt"
)

func main() {
	myArray := [5]string{"I", "am", "stupid", "and", "weak"}
	for i, v := range myArray {
		fmt.Print(v + " ")
		if v == "stupid" {
			myArray[i] = "smart"
		} else if v == "weak" {
			myArray[i] = "strong"
		}
	}
	fmt.Println()
	fmt.Printf("Now the text is:%v", myArray)
}
